package com.spsoft.vatoutinv.entity.matchflow;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 手工匹配流水表
 * </p>
 *
 * @author chenxudong
 * @since 2024-06-25
 */
@Data
@EqualsAndHashCode
@TableName("VMS_MATCHING")
@ApiModel(value = "VmsMatching对象", description = "手工匹配流水表")
@KeySequence(value = "SEQ_VMS_MATCHING")
public class VmsMatching implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "MATID", type = IdType.INPUT)
    private Long matid;

    @ApiModelProperty(value = "审批流ID")
    private Long applyId;

    @ApiModelProperty(value = "审批流程类型;0：发票匹配流水 1：发票匹配流水撤销")
    private String applyType;

    @ApiModelProperty(value = "发票类型 01：数电专 02：数电普 004：增值税专用发票 007：增值税普通发票 026：电子普通发票")
    private String fplx;

    @ApiModelProperty(value = "发票代码")
    private String fpdm;

    @ApiModelProperty(value = "发票号码")
    private String fphm;

    @ApiModelProperty(value = "发票金额")
    private BigDecimal fpje;

    @ApiModelProperty(value = "发票税额")
    private BigDecimal fpse;

    @ApiModelProperty(value = "流水金额总和")
    private BigDecimal lsje;

    @ApiModelProperty(value = "流水税额总和")
    private BigDecimal lsse;

    @ApiModelProperty(value = "允许差异金额")
    private BigDecimal yxcyje;

    @ApiModelProperty(value = "差异金额说明")
    private String cyjesm;

    @ApiModelProperty(value = "发票主表ID")
    private Long oidid;

    @ApiModelProperty(value = "机构编码")
    private String deptCode;

    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "创建人")
    private String creatBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

}
